<h1 class="ttt"><span> أتصل بنا </span></h1>
<div id="inner">
    <form class="form"   id="add_message" action="<?php echo base_url() ?><?php echo get_segment(1) ?>/<?php echo get_segment(2) ?>" method="post">
        <div class="text" >

            <label>
                <?php echo lang('label_name') ?>
            </label>
            <?php echo form_error('name', '<div class="form_error">', '</div>'); ?>
            <samp>
                <input name="name" id="textinput1" placeholder="<?php echo lang('label_name') ?>" value="<?php echo set_value('name') ?>" type="text" />
            </samp>
        </div>
        <div class="text" >

            <label>
                <?php echo lang('label_email') ?>
            </label>
            <?php echo form_error('email', '<div class="form_error">', '</div>'); ?>
            <samp>
                <input name="email" id="textinput1" placeholder="<?php echo lang('label_email') ?>" class="email"  value="<?php echo set_value('email') ?>"  type="text" />
            </samp>
        </div>
        <div class="text" >

            <label>
                <?=lang('label_subject')?>
            </label>
            <?php echo form_error('subject', '<div class="form_error">', '</div>'); ?>
            <samp>
                <input name="subject" id="textinput1" placeholder="<?=lang('label_subject')?>"  value="<?php echo set_value('subject') ?>" type="text" />
            </samp>
        </div>
        <div class="text" >

            <label for="textarea1">
                <?=lang('label_message')?>
            </label>
            <?php echo form_error('messages', '<div class="form_error">', '</div>'); ?>
            <samp>
                <textarea name="messages" id="textarea1" placeholder="<?=lang('label_message')?>"    style="min-height: 200px;"><?php echo set_value('messages') ?></textarea>
            </samp>
        </div>
        <div class="submit">
        <input  value="<?=lang('label_send')?>" type="submit" />
        </div>
    </form>
</div>